package com.xuecheng.base.service;

import com.xuecheng.base.model.po.CourseTeacher;

import java.util.List;

public interface CourseTeacherService {
    /**
     * 根据课程id查询课程教师信息
     * @param courseId
     * @return
     */
    List<CourseTeacher> courseTeacherList(Long courseId);
    /**
     * 新增课程教师信息
     * @param companyId
     * @param courseTeacher
     * @return
     */
    CourseTeacher createCourseTeacher(Long companyId, CourseTeacher courseTeacher);
    /**
     * 根据id查询课程教师信息
     * @param id
     * @return
     */
    CourseTeacher getCourseTeacher(Long id);
    /**
     * 修改课程教师信息
     * @param companyId
     * @param courseTeacher
     * @return
     */
    CourseTeacher updateCourseTeacher(Long companyId, CourseTeacher courseTeacher);
    /**
     * 删除课程教师信息
     */
    void deleteCourseTeacher(Long companyId,Long courseId,Long id);
}
